package io.shallwe.common.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
 * 炉温参数控制
 * @author 王小伟
 * @date 2019/7/10 12:57:57
 **/
public class BaseStovingOven<M extends BaseStovingOven<M>> extends Model<M> implements IBean {
    private Integer getId(){
        return  getInt("id");
    }

    public M setId(Integer id){
        set("id",id);
        return  (M)this;
    }

    public Integer getMaxCount(){
        return getInt("max_count");
    }

    public M setMaxCount(Integer maxCount){
        set("max_count",maxCount);
        return (M)this;
    }

    public M setConfigStatus(java.lang.Integer configStatus) {
        set("config_status", configStatus);
        return (M)this;
    }

    public java.lang.Integer getConfigStatus() {
        return getInt("config_status");
    }

    public M setUpdateTime(java.util.Date updateTime) {
        set("update_time", updateTime);
        return (M)this;
    }

    public java.util.Date getUpdateTime() {
        return get("update_time");
    }

    public M setRiseTag(java.lang.String riseTag) {
        set("rise_tag", riseTag);
        return (M)this;
    }

    public java.lang.String getRiseTag() {
        return get("rise_tag");
    }

    public M setDownTag(java.lang.String downTag) {
        set("down_tag", downTag);
        return (M)this;
    }

    public java.lang.String getDownTag() {
        return get("down_tag");
    }

    public M setChangeBy(java.lang.String changeBy) {
        set("change_by", changeBy);
        return (M)this;
    }

    public java.lang.String getChangeBy() {
        return get("change_by");
    }
}
